package com.kg.module.jtnc.zzjh.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kg.core.base.model.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 种植计划表
 * </p>
 *
 * @author xxx
 * @since 2024-11-02
 */
@Getter
@Setter
@TableName("kr_zzjh")
@ApiModel(value = "KrZzjh对象", description = "种植计划表")
public class KrZzjh implements BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "zzjh_id", type = IdType.ASSIGN_UUID)
    private String zzjhId;

    @ApiModelProperty("计划编号")
    @TableField("jhbh")
    private String jhbh;

    @ApiModelProperty("计划年度")
    @TableField("jhnd")
    private String jhnd;

    @ApiModelProperty("计划名称")
    @TableField("jhmc")
    private String jhmc;

    @ApiModelProperty("所属地块id")
    @TableField("dkgl_id")
    private String dkglId;

    @ApiModelProperty("地块名称")
    @TableField("dkmc")
    private String dkmc;

    @ApiModelProperty("种植作物")
    @TableField("zzzw")
    private String zzzw;

    @ApiModelProperty("种植株数")
    @TableField("zzzs")
    private String zzzs;

    @ApiModelProperty("农户id")
    @TableField("nh_id")
    private String nhId;

    @ApiModelProperty("农户姓名")
    @TableField("nhxm")
    private String nhxm;

    @ApiModelProperty("技术员id")
    @TableField("jsy_id")
    private String jsyId;

    @ApiModelProperty("技术员姓名")
    @TableField("jsyxm")
    private String jsyxm;

    @ApiModelProperty("合伙人id")
    @TableField("hhr_id")
    private String hhrId;

    @ApiModelProperty("合伙人姓名")
    @TableField("hhrxm")
    private String hhrxm;

    @ApiModelProperty("农场主id")
    @TableField("ncz_id")
    private String nczId;

    @ApiModelProperty("农场主姓名")
    @TableField("nczxm")
    private String nczxm;

    @ApiModelProperty("生长周期开始")
    @TableField("szzq_ks")
    private String szzqKs;

    @ApiModelProperty("生长周期结束")
    @TableField("szzq_js")
    private String szzqJs;

    @ApiModelProperty("农户每亩固定收益标准")
    @TableField("nhgdsybz")
    private String nhgdsybz;

    @ApiModelProperty("合伙人每亩固定收益标准")
    @TableField("hhrgdsybz")
    private String hhrgdsybz;

    @ApiModelProperty("农场主每亩固定收益标准")
    @TableField("nczgdsybz")
    private String nczgdsybz;

    @ApiModelProperty("保底亩产值")
    @TableField("bzmcz")
    private String bzmcz;

    @ApiModelProperty("合伙人超额分红比例")
    @TableField("hhrcefhbl")
    private String hhrcefhbl;

    @ApiModelProperty("农场主超额分红比例")
    @TableField("nczcefhbl")
    private String nczcefhbl;

    @ApiModelProperty("种植计划状态（0：已停用，1:使用中）")
    @TableField("state")
    private String state;

    @ApiModelProperty("添加时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
